//
//  CalendarView.h
//  OfficeBook
//
//  Created by 孙晓奇 on 15/9/25.
//  Copyright © 2015年 sunny. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BookingInfoModel, CalendarView, BookingInfoModel, CalendarEvent;
@protocol CalendarViewDelegate <NSObject>

-(void)view:(CalendarView *)calendarView didSelectedCalendarEvent:(CalendarEvent *)event withBookingInfo:(BookingInfoModel *)bookingInfo;

@end

@interface CalendarView : UIView
@property (nonatomic, weak)   id<CalendarViewDelegate> delegate;
@property (nonatomic, strong) BookingInfoModel *selectedEventInfo;

-(void)calendarEvent:(CalendarEvent *)event updatedBookingInfo:(BookingInfoModel *)updated;
-(void)deleteCalendarEvent:(CalendarEvent *)event;
@end
